function score = calculate_weight(value, maxValue)
    minValue=0;
    score_0 = 0;
    score_K = 10;
    score = score_0 + (value - minValue) * (score_K - score_0) / (maxValue - minValue);
end